home *** CD-ROM | disk | FTP | other *** search
- =======================================================================
- Introduction
-
- This directory contains subdirectories for examples programs that
- combine DataViews and Windows programming. The programs are:
-
- dv_win Shows the basics of displaying a view in a window
- and handling the messages on the window.
-
- dv_mdi Shows how to create and manage multiple windows
- displaying views, based on the Windows MDI model.
-
- dv_ocx Shows how to make a view ocx. This example allows the
- user to change the view, update rate, double
- buffering, and update speed.
-
- mfc_mdi Shows how to write a DataViews MDI application
- using the Visual C++ Developers Studio and the
- Microsoft Foundation Classes.
-
- showfont Displays the fonts available on your machine that
- you can use with DataViews. To use these fonts,
- edit your DV.INI file.
-
- showfixw Displays the fixed-width fonts available on
- your machine. To use these fonts for DataViews,
- edit your DV.INI file.
-
- Both programs for displaying fonts are located
- in the fonts subdirectory.
-
- For more information about dv_win and dv_mdi, see the Win32 programming
- chapter in the DataViews for Windows manual.
- =====================================================================
- To use dv_ocx or mfc_mdi, open the Developers Studio. Open the
- workspace using the MAK file provided in
-
- <dataviews>\dvtools\examples\windows\<example_name>
-
- and build the project.
-
- To use the other examples, first open an MS-DOS command prompt, and go to the
- example's subdirectory:
-
- cd <dataviews>\dvtools\examples\windows\<example_name>
-
- To make the example, type:
-
- nmake <example_name>.exe
-
- For example:
-
- nmake dv_mdi.exe
-
- To run an example:
- Open the File Manager.
- Go to the subdirectory of the example you want to run.
- Select the name of the example executable.
-
- You can also run the example from the command prompt.
- To run an example, type:
-
- <example_name>
-
- All of the examples use a NULL path in their call to TInit(), so be sure
- that the DVPATH configuration variable is set.
-
-
-